package com.kexun.common.wrapper;

import com.kexun.common.enums.OrderStatus;

import java.util.List;
import java.util.Map;

public class OrderWrapper extends BaseControllerWrapper {

    public OrderWrapper(List<Map<String, Object>> mapList) {
        super(mapList);
    }

    @Override
    protected void wrapTheMap(Map<String, Object> map) {
        map.put("orderStatus", OrderStatus.getName((Integer) map.get("orderStatus")));
    }
}
